home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / languages / f77-1.4.lha / f77 / f77.doc next >
Encoding:
Text File  |  1994-10-21  |  3.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. f77(1L)                                                   f77(1L)
  5.  
  6.  
  7. NNAAMMEE
  8.        f77 - Fortran compiler.
  9.  
  10. SSYYNNOOPPSSIISS
  11.        ff7777 [options] file ...
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.        ff7777 is an AmigaDOS frontend for the port of the AT&T Labo­
  15.        ratories and Bellcore ff22cc Fortran  to  C  translator  that
  16.        works  with  the  SAS AmigaDOS C compiler version 6.51. It
  17.        tries to give the impression of a  true  Fortran  compiler
  18.        for  AmigaDOS. The frontend accepts the following types of
  19.        file arguments:
  20.  
  21.        Arguments that end with .f  are  compiled  as  Fortran  77
  22.        source  files.   If each source compiles successfully, its
  23.        corresponding object file is left in the current directory
  24.        in  a  file whose name is that of the source, with .o sub­
  25.        stituted for .f.
  26.  
  27.        Arguments that end with .c are  assumed  to  be  C  source
  28.        files, and are compiled, producing .o files.
  29.  
  30.        Arguments  that  end  with  .o are passed on to the linker
  31.        (see the SAS documentation for slink) to  be  linked  into
  32.        the final program.
  33.  
  34.        Arguments that end with .lib are taken to be standard Ami­
  35.        gaDOS linker libraries of .o files to be searched  in  the
  36.        order they appear.
  37.  
  38.        f77 accepts the following options:
  39.  
  40.        +B     Treat  the  backslash  character as a C-like escape
  41.               character.
  42.  
  43.        -C     Enable array subscript range checking.
  44.  
  45.        -c     Suppress linking and produce an  object  (.o)  file
  46.               from each source file.
  47.  
  48.        -g     Generate  information  needed  by  the symbolic SAS
  49.               CodeProbe debugger.
  50.  
  51.        -I2    Make default size of integers  and  logicals  INTE­
  52.               GER*2 and LOGICAL*2.
  53.  
  54.        -I4    Make  default  size  of integers and logicals INTE­
  55.               GER*4 and LOGICAL*4.
  56.  
  57.        -l _n_a_m_e
  58.               Search the library lib:name.lib.  Libraries  speci­
  59.               fied  by  this  option  is  searched after the ones
  60.               given directly.
  61.  
  62.  
  63.  
  64. AmigaDOS                 October 21, 1994                       1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. f77(1L)                                                   f77(1L)
  71.  
  72.  
  73.        -noext Do not accept any extensions to Fortran 77, like DO
  74.               - END DO.
  75.  
  76.        -O     Enable the SAS C global optimizer.
  77.  
  78.        -o _o_u_t_f_i_l_e
  79.               Name the output file resulting from linking _o_u_t_f_i_l_e
  80.               instead of the default file name a.out.
  81.  
  82.        -onetrip
  83.               Execute any DO loop at least once.
  84.  
  85.        -S     Translate the named Fortran source files and  leave
  86.               the  C language output in corresponding files whose
  87.               names are suffixed with .c (no .o  files  are  cre­
  88.               ated).
  89.  
  90.        +U     Distinguish uppercase and lowercase (make case sig­
  91.               nificant).  Keywords must be lowercase.
  92.  
  93.        -u     Force types of identifiers to be  implicitly  unde­
  94.               clared (same as specifying IMPLICIT NONE).
  95.  
  96.        -v     Enable  the  verbose mode, producing a step-by-step
  97.               description of the compilation  process.  This  may
  98.               generate a lot of noise.
  99.  
  100.        -w     Suppress all warning messages from ff22cc ..
  101.  
  102.        -w66   Enable warnings about Fortran 66 features used.
  103.  
  104. FFIILLEESS
  105.        f2c
  106.        sc
  107.        slink
  108.        include:f2c.h
  109.        lib:f2c.lib
  110.        lib:scmnb.lib
  111.        lib:scnb.lib
  112.        lib:c.o
  113.  
  114. SSEEEE AALLSSOO
  115.        f2c(1)
  116.  
  117. AAUUTTHHOORR
  118.        ff7777  is  freely redistributable and was written by Torsten
  119.        Poulin Nielsen (torsten@diku.dk) who also ported  ff22cc  and
  120.        welcomes suggestions and bug reports.
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. AmigaDOS                 October 21, 1994                       2
  131.  
  132.  
  133.